package com.xpsoft.oa.model.produce;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.project.Project;

/**
 * MaterialOutStock Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class MaterialOutStock extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected Project project;
	@Expose
	protected java.util.Date outStockDate;
	@Expose
	protected String outStockNo;
	@Expose
	protected Material material;
	@Expose
	protected Integer num;
	@Expose
	protected java.math.BigDecimal unitPrice;
	@Expose
	protected String remark;
	@Expose
	protected Long processRunId;

	/**
	 * Default Empty Constructor for class MaterialOutStock
	 */
	public MaterialOutStock () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class MaterialOutStock
	 */
	public MaterialOutStock (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public Long getProcessRunId() {
		return processRunId;
	}

	public void setProcessRunId(Long processRunId) {
		this.processRunId = processRunId;
	}

	/**
	 * 出库日期	 * @return java.util.Date
	 * @hibernate.property column="outStockDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getOutStockDate() {
		return this.outStockDate;
	}
	
	/**
	 * Set the outStockDate
	 */	
	public void setOutStockDate(java.util.Date aValue) {
		this.outStockDate = aValue;
	}	

	/**
	 * 出库单号	 * @return String
	 * @hibernate.property column="outStockNo" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getOutStockNo() {
		return this.outStockNo;
	}
	
	/**
	 * Set the outStockNo
	 */	
	public void setOutStockNo(String aValue) {
		this.outStockNo = aValue;
	}	


	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	public Material getMaterial() {
		return material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	/**
	 * 数量	 * @return Integer
	 * @hibernate.property column="num" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	public Integer getNum() {
		return this.num;
	}
	
	/**
	 * Set the num
	 */	
	public void setNum(Integer aValue) {
		this.num = aValue;
	}	

	/**
	 * 单价	 * @return java.math.BigDecimal
	 * @hibernate.property column="unitPrice" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getUnitPrice() {
		return this.unitPrice;
	}
	
	/**
	 * Set the unitPrice
	 */	
	public void setUnitPrice(java.math.BigDecimal aValue) {
		this.unitPrice = aValue;
	}	

	/**
	 * 备注	 * @return String
	 * @hibernate.property column="remark" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getRemark() {
		return this.remark;
	}
	
	/**
	 * Set the remark
	 */	
	public void setRemark(String aValue) {
		this.remark = aValue;
	}	

}
